﻿using log4net;
using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Demo.MVC.Controllers
{
    public class HomeController : Controller
    {
        

        static ILog log = LogManager.GetLogger("HomeControler");

        public ActionResult Index()
        {
            log.Info("访问时间：");

            return View(log);
        }

        public ActionResult Detail()
        {
            return View();
        }
    }
}